package com.example.lbstest.mapper;


import java.util.List;

import com.example.lbstest.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface StudentMapper {

    List<Student> selectPreStudent();

    Student login(@Param("number")String number,@Param("password")String password);
    //选课学生列表
    List<Student> selectStudentList(@Param("id")String id);
    int changePassword(@Param("number")String number,@Param("password")String password);
    //查询某个学生信息
    Student selectOneStudent(@Param("student_id")String student_id);
}

